<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let red = []
        let number = []
        for (i = 1; i <= 36; i++) {
            red.push(i)
        }
        for (i = 0; i <= 5; i++) {
            randomNum = parseInt(Math.random() * red.length)
            number.push(red[randomNum])
            red.splice(randomNum, 1)
        }
        console.log(number)
    </script>
</body>
</html>